package com.rbac.application.service;

import com.rbac.domain.dto.request.LoginRequest;
import com.rbac.domain.dto.request.RegisterRequest;
import com.rbac.domain.dto.response.LoginResponse;
import com.rbac.domain.dto.response.UserInfoResponse;

public interface AuthService {

    LoginResponse login(LoginRequest request, String clientIp);

    void register(RegisterRequest request, String clientIp);

    void logout(String token);

    UserInfoResponse getCurrentUser();

    void refreshToken();
}